package com.um.jdy.platform.shop.entity.dto;

import com.um.springboot.starter.orm.params.PageDTO;
import com.um.springboot.starter.orm.params.PageParams;
import lombok.Data;

@Data
public class DeliveryTemplatePageDTO extends PageDTO {

    String deliveryName;

    @Override
    public PageParams toPageParams() {
        PageParams pageParams = toPageParams(
                new String[]{"deliveryName"},
                new String[]{"delivery_name"});
        return  pageParams;
    }
}
